#coding:utf-8
#作业
'''

*
**
***
****
*****
******
'''

# i = 1
# j =0
# while i<=6:
# 	while j< i:
# 		print("*",end=" ")
# 		j+=1
# 	i+=1
# 	j=0
# 	print()

# for i in range(1,7):
#     for j in range(0,i):
#         print("*",end=" ")
#     print()

'''
*****
*****
*****
*****
'''
# for i in range(4):
#     for j in range(5):
#         print("*",end=" ")
#     print()

a = ["addd","word","list","copy"]

b = "dadfdsf"
a.extend(b)
# print(a)

#实现Extends功能
def ads(l1,l2):
    for i in range(len(l2)):
        l1.append(l2[i])
    return l1

list1 = ads(a,b)
print(list1)